FireStore と Android RecyclerView
FirebaseUI offers two types of RecyclerView adapters for Cloud Firestore
1. FirestoreRecyclerAdapter... Best used with small result sets
あとは、自動で更新してくれる(listenする)
onDataChange, onError で、基本的なケースの対応?はできる?
2. FirestorePagingAdapter Best used with large, static data sets
onLoadingStateChanged(loadingState:State)で変化時の処理は書ける
元々な話
listViewへのデータをどう入れればよいのか?
カーソルの使用
Managing large result sets
Cloud Firestore has several features to help you manage queries that return a large number of results:
Cursors, which allow you to resume a long-running query.
Page tokens, which help you paginate the query results.
Limits, which specify how many results to retrieve.
Offsets, which allow you to skip a fixed number of documents.
price構造は?